<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <meta charset='utf-8'>
    <title>CRM学校联系人</title>
    <link rel="stylesheet" type="text/css" href="/static/js/jquery-easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/js/jquery-easyui/themes/icon.css">
    <script type="text/javascript" src="/static/js/jquery-easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/views/schoollinkman.js"></script>
</head>
<body>
    <table id="schoollinkman_tab" class="easyui-datagrid">

    </table>
    <div id="schoollinkman_tab_tool">
            <a class="easyui-linkbutton" plain="true" iconCls="icon-add" data-cmd="addschoollinkman">增加</a>
            <a class="easyui-linkbutton" plain="true" iconCls="icon-remove" data-cmd="deleteschoollinkman">设置为主联系人</a>
            <a class="easyui-linkbutton" plain="true" iconCls="icon-edit" data-cmd="editschoollinkman">更改</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-reload" data-cmd="reloadList">刷新</a>
            <%--<a class="easyui-linkbutton" plain="true" iconCls="icon-download" data-cmd="downloadList">导出</a>--%>
        &emsp;
        <span>关键字:</span>
        <input class="easyui-textbox" id="keyword" name="keyword" prompt="姓名/所属学校">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-search" data-cmd="queryForList">查询</a>
    </div>
    <div id="schoollinkman_dialog" style="padding: 10px">
        <form id="schoollinkman_edit" method="post">
            <table>
                <input id="schoollinkman_id" type="hidden" name="id">
                <tr align="right">
                    <td>姓名</td>
                    <td><input name="name" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>所属学校</td>
                    <td><input name="school.id" class="easyui-combobox" data-options="
                            url:'/school/getAllSchool',
                            valueField:'id',
                            textField:'name',
                            panelHeight:'auto',
                            "></td>
                </tr>
                <tr align="right">
                    <td>所属学院</td>
                    <td><input name="schoolCollge" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>职务</td>
                    <td><input name="job" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>性别</td>
                    <td><input name="gender.id" id="linkman_gender" class="easyui-combobox" data-options="
                            url:'/systemDictionary/gender',
                            valueField:'id',
                            textField:'name',
                            panelHeight:'auto',
                            "></td>
                </tr>
                <tr align="right">
                    <td>电话</td>
                    <td><input name="tel" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>QQ</td>
                    <td><input name="qq" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>Email</td>
                    <td><input name="email" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>简介</td>
                    <td><input name="intro" data-options="multiline:true" class="easyui-textbox"></td>
                </tr>
            </table>
        </form>
    </div>
    <div id="schoollinkman_edit_tool">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-ok" data-cmd="save">确定</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
    </div>
</body>
</html>
